PHY CLOTH RAY CAST HIT Z

Find out the hit point on the Z axis at which the ray cast hit the cloth object.

  Syntax
Return Float=PHY CLOTH RAY CAST HIT Z(ID)
  Parameters
ID
Integer
identification number of the cloth object

  Returns

hit point on Z axis

  Description

When a ray cast operation has been performed on a cloth object then certain information is stored to one side. To access the hit point on the Z axis use this command. It will return the point on the Z axis at which the ray cast collided with the specified cloth object.

  Example Code
No example code is provided for this command